-- background: 4022 from stack: in.6 Documentation
-- bmap block id: 2625
-- flags: 0000
-- background id: 0
-- name:
----- HyperTalk script -----
function scrollLineClicked topMargin
return (round((the scroll of the target / the textHeight of the target) + (((the clickV - top of the target - topMargin) div the textHeight of the target) + 1)))
end scrollLineClicked
function lineClicked topMargin
return ((the clickV - top of the target - topMargin) div the textHeight of the target) + 1